import Person from './person.js';

class Worker extends Person{
    constructor(name,age){
        super(name,age);
    }
    introduce(){
        let result=`I am a Worker. I have a job.`;
        return result;     
    }
}
export default Worker;